﻿
@model YouWei.Infrastructure.Entity.Customer

@{
    ViewBag.Title = "客户详情";
    Layout = "~/Views/Shared/_Layout.cshtml";
}

<section class="content-header">
    <h1>
        客户管理
        <small></small>
    </h1>
    <ol class="breadcrumb">
        <li><a href="#"><i class="fa fa-dashboard"></i>主页</a></li>
        <li class="active">客户详情</li>
    </ol>
</section>
<section class="content">
    <div class="row">
        <div class="col-md-12">
            <div class="box box-primary">
                <div class="box-header">
                    <table class="table table-striped">
                        <tr>
                            <td>姓名</td>
                            <td>@Model.CustomerName</td>

                        </tr>
                        <tr>
                            <td>性别</td>
                            @if (Model.Sex == 1)
                            {
                                <td>男</td>
                            }
                            @if (Model.Sex == 2)
                            {
                                <td>女</td>
                            }
                            @if (Model.Sex == 0)
                            {
                                <td>未知</td>
                            }
                            <td>电话</td>
                            <td>@Model.Mobile</td>
                        </tr>
                        <tr>
                            <td>邮箱</td>
                            <td>@Model.Email</td>
                            <td>创建时间</td>
                            <td>@Model.CreateDate.ToString("yyyy-MM-dd HH:mm")</td>

                        </tr>
                        <tr>
                            <td>省市区</td>
                            <td>@Model.Proince @Model.City @Model.Location</td>
                            <td>详细地址</td>
                            <td>@Model.Address</td>
                        </tr>
                        <tr>
                            <td>OpenID</td>
                            <td>@Model.OpenID</td>
                            <td>客户级别</td>
                            <td>@Model.CustomerLevel</td>
                        </tr>
                    </table>
                </div>
            </div>
        </div>
</section>
@section scriptsBottom{

}